FROM grafana/promtail:2.2.1
LABEL AUTHOR = louis
ENV LOKI_HOST="172.19.72.248"
ENV LOKI_PORT=3100
ENV APP_NAME="h5_backend"
ENV LOG_HOST="172.19.72.248"
VOLUME [ "/var/log/","/etc/promtail/"]
EXPOSE 9080
CMD ["-config.file=/etc/promtail/config.yml", "-config.expand-env"]